package com.mall.book.common;

/**
 * Created by Dizziness on 2022/4/6 21:06
 */
public class AlipayHelper {
    //支付请求参数
    public static final String SERVER_URL = "https://openapi.alipaydev.com/gateway.do";
    public static final String APP_ID = "2021000119652577";
    public static final String FORMAT = "json";
    public static final String CHARSET = "utf-8";
    public static final String SIGN_TYPE = "RSA2";
    public static final String PRODUCT_CODE = "FAST_INSTANT_TRADE_PAY";
    public static final String RETURN_URL = "http://127.0.0.1:8080/#/blank";
    public static final String NOTIFY_URL = "http://drv7ga.natappfree.cc" + "/order/notify";
    public static final String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmvLFa5zVIOh7Z0SWefxDkv2WjOvv1GQluksbU7h7LJBL3iOC9KeHFZnXh0yOVFJ9YedomgzYigCvGokTM8M61AFgEpkD9151oTN3UU+waqiwGY5AWgWwGH2bwHM3Fm3pgvl43LIyZybfUvWL57pDCDyF5v1Bjvi8UJBW+Ngz/r/xlcxHUnB/hZh6Y8MVG8aGG4YqhO8MSSuhtvkBC47zeLVtkFVngcMD8IHMhqmopUqSJ3ivgQCgonEDw5BA3HWHR+/8BriVn6h2uqy4dE4YFzcx9OI0Loa7uzYtP0dj1Lc2KmYIn/q2siiG/HEYi2M8PThU2zWIp4xIy5YxKfPDvQIDAQAB";
    public static final String PRIVATE_KEY = "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCbZgr9VAOB3XLVBWy90DjkHCQrkUIAoK0ynjc77Paq2nofCKyz6JL8kN+bFPa+1UQeFZLGohs0Ms1gxdEKvIRaTx8SOUkr4d2jT2QW96/9b7hpoaW6R6BJ4Xwv8CaRMcfsXS5T1dsAjg7kuA4aZVwEEGMzzUty38fcuGvguEhFq33CN7G1MEMGq35ye5v2qbrHMPasveK/GB+dCHYCqSxNuosnV6U1W6k/zX5E//cw6hxgRgtvUUzXuP04EkgGGtnO/BUig+7tbHGu7GUM33l3kP+2jF5tLHx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bJfnGCrI2uXX103BXECgYBEadBdHiF6JmHbo+LGuL04NL8/SEQPEVibEhKLyzZFIGdhVa5rsvz1fURnNrHgcrPKShfrynvzfZ468/AWUl2u9rwpd7I0M5h+GMwlXISk9G5BiMPZubVJENCLhBWwNwalzXldv8N3i+PWqpCLRY+CHI/Md17bBSGZo3tEFmUWAQ==";
    public static final String DATE_PATTERN = "yyyy-MM-dd HH:mm:ss";

    /* 前期购物流程状态码 */
    //待发货
    public static final int UNSHIPPED = 0;
    //已发货,待揽收
    public static final int SHIPPED = 1;
    //待收货(未送达、在途)
    public static final int UNDELIVERED = 2;
    //已送达
    public static final int DELIVERED = 3;
    //已收货
    public static final int RECEIVED = 4;
    /* 后期售后流程状态码 */
    //退款申请
    public static final int REFUND = 101;
    //买家未发货
    public static final int REFUND_UNSHIPPED = 102;
    //买家已发货
    public static final int REFUND_SHIPPED = 103;
    //卖家未收货（商品在途）
    public static final int REFUND_UNDELIVERED = 104;
    //卖家已收货（不退货的退款直接到这一步）
    public static final int REFUND_DELIVERED = 105;
    //卖家拒绝退款
    public static final int REFUND_REFUSE = 106;
    //卖家同意退款
    public static final int REFUND_ACCEPT = 107;
    //退款成功（由退款回调更新此状态）
    public static final int REFUND_SUCCESS = 108;
    /* 整个流程的结束 */
    //订单完成
    public static final int ORDER_COMPLATE = 998;
    //交易关闭
    public static final int ORDER_CLOSE = 999;
}
